package object.innerclass.mulextend;

public class C {

    private class A2 extends A {
        @Override
        public String getName() {
            return super.getName();
        }

        @Override
        public void setName(String name) {
            super.setName(name);
        }
    }

    private class B2 extends B {
        @Override
        public int getAge() {
            return super.getAge();
        }

        @Override
        public void setAge(int age) {
            super.setAge(age);
        }
    }


    public String name() {
        return new A2().getName();
    }

    public int age() {
        return new B2().getAge();
    }

    public void setName() {

    }




}
